Linux USB HID Device


Posted by Jerome on 2021-11-30

USB Descriptor

  1. Device Descriptor
  2. Configuration Descriptor
  3. Interface Descriptor -> HID Descriptor -> Report and Physical Descriptor
  4. Endpoint Descriptor

Report Descriptor

  1. Data format

    Usage Page
    Usage
    Collection
    ...
    End Collection
    
  2. Report type
    Input report: For standard defined data.
    Output report: Not suggest to use, some old OS systems do not support this report type.
    Feature report: For self-defined data.


#linux #usb #hid #Report Descriptor







Related Posts

[Heroku] 佈署你的 Node.js + Express + Sequelize migration 專案到 Heroku 上吧 !

[Heroku] 佈署你的 Node.js + Express + Sequelize migration 專案到 Heroku 上吧 !

當每一個 UX 都變成了一筆交易 - redux saga

當每一個 UX 都變成了一筆交易 - redux saga

我要成為前端工程師的學習筆記:前言

我要成為前端工程師的學習筆記:前言


Comments